<extend name="Base/common"/>

<block name="style">
<link href="__CSS__/stylesheet.css" rel="stylesheet">
<link href="__CSS__/order_pay.css" rel="stylesheet">
</block>

<block name="header">
<header>
	<div class="container">
		<section class="menu-top">
			<div class="fl">
				<section class="header-logo-search">
					<div class="logo fl">
						<img src="__IMG__/logo.png"/>
					</div>
					<div class="search form-group fl">
						<form action="" method="post" autocomplete="off">
							<div class="dropdown fl">
								<a data-toggle="dropdown" href="javascript:;">商品</a>
								<ul class="dropdown-menu">
									<li><a href="javascript:;" data-id="putong">商品</a></li>
									<li><a href="javascript:;" data-id="paipin">拍品</a></li>
									<li><a href="javascript:;" data-id="xianzhi">闲置</a></li>
								</ul>
							</div>
							<input name="type" type="hidden" value="putong">
							<input name="title" type="text" class="search-text" />
							<a href="javascript:;" class="search-btn fr">搜 索</a>
							<script type="text/javascript">
							$(function(){
								$('.dropdown li a').click(function(){
									self = $(this), type = $('.search input[name="type"]');
									$('.dropdown > a').text(self.text());
									type.val(self.attr('data-id'));
								});
							});
							</script>
						</form>
					</div>
				</section>
				<section class="header-ad">
					<img src="__IMG__/header_ad.png">
				</section>
			</div>
	        <div class="fr qrecode">
	            <img src="__IMG__/QRcode.png"/>
	        </div>
        </section>
        <div class="sub-menu fl">
			<a class="sub-menu-top" href="{:U('Product/Index')}">全部商品分类</a>
			<ul class="hidden">
				<volist name=":getCategoryTree()" id='vo'>
					<li>
						<a  class="title" href="{:U('Product/Index?fid='.$vo['id'])}">{$vo.title}</a>
						<div class="sub-menu-list">
							<volist name="vo._child" id="child">
								 <a href="{:U('Product/Index?cid='.$child['id'])}">{$child.title}</a>
					 		</volist>
						</div>
					</li>
				</volist>
			</ul>
		</div>
		<div class="sub-nav">
	       	<ul>
	       		<li><a href="{:U('Index/index')}">首页</a></li>
	       		<li><a href="{:U('Identify/index')}">鉴真宝</a></li>
	       		<li><a href="{:U('Pzb/index')}">拍真宝</a></li>
	       		<li><a href="{:U('Qgh/index')}">抢购会</a></li>
	       		<li><a href="{:U('Pzg/index')}">拍照购</a></li>
	       		<li><a href="{:U('Xlw/index')}">选礼物</a></li>
	       		<li><a href="{:U('Xz/index')}">闲置</a></li>
	       	</ul>
	    </div>
	</div>
</header>
</block>

<block name="body">
<div class="container main">
	<h3>支付费用</h3>
	<form action="{:U('pay/pay')}" class="form-horizontal" enctype="multipart/form-data" >
	<div class="panel">
		<div class="head"><label>应支付：</label><em class="yen">￥</em><em class="price">{$sum_order_price}</em></div>
		<input type="hidden" name="price" value="{$sum_order_price}" />
		<ul class="payments">
		<li>
			<label class="radio"><input name="paycode" value="balancePay" type="radio" checked="checked">余额支付</label>
		</li>
		<volist  name="paymentlist" id="vopaylist">			
			<li><label class="radio"><input name="paycode" type="radio" value="{$vopaylist.code}">{$vopaylist.title}</label></li>
		</volist>
			
		</ul>
		
		<input type="hidden" name="order_id"  value="{$order_id}"/>
		<input type="hidden" name="order_no"  value="{$order_no}"/>
		<input type="hidden" name="checkup_id"  value="{$checkup_id}"/>
		<input type="hidden" name="checkup_no"  value="{$checkup_no}"/>
		
		<div class="foot">
		<a href="javascript:;" class="btn ajax-post" target-form="form-horizontal">确认支付</a>
		</div>
	</div>
	</form>
</div>
</block>